function yahoo_data_loader(ticker_list, startDate, endDate, data_path, period)
% want to call yahoo data and output results to flat files in [wcm_root]\data\yahoo_data
% this is the wrapper function

if nargin < 5, period = 'd'; end
if nargin < 4, data_path = [getenv('wcm_root') 'data/yahoo_data/']; end
if nargin < 3, endDate = datestr(today(),'mm/dd/yyyy'); end
if nargin < 2, startDate = '1/1/2010'; end

for i = 1:length(ticker_list)
  temp = getYahooData(ticker_list{i},startDate, endDate, data_path, period);
end

end